import java.io.IOException;

import java.io.PrintWriter;
import javax.servlet.GenericServlet;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
public class ShowLetter extends GenericServlet {
    public void service(ServletRequest request, ServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=utf-8");
        PrintWriter out = response.getWriter();
        out.println("<html><body>");
        out.print("<BR>英文字母大写");
        for (char c = 'A'; c <= 'Z'; c++) {
            out.println(c);

        }
        out.println("<BR>英文字母小写");
        for (char c = 'a'; c <= 'z'; c++) {
            out.println(c);
            out.println("</body></html>");
        }
    }
}